package com.kamistoat.meimeistore.ware.feign;

import com.kamistoat.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("meimeistore-web-backstageorder")
public interface OrderFeignService {
    /**
     * 根据OrderSn查订单
     * @param orderSn
     * @return
     */
    @GetMapping("meimeistoreorder/order/getOrderBySn")
    R getOrderBySn(@RequestParam String orderSn);
}
